var express = require('express');
var router = express.Router();
var dataCtrl = require('../controllers/upload.controller')

router.post('/data',dataCtrl.create);
router.post('/remove',dataCtrl.remove);
router.delete('/data',dataCtrl.removes);
router.post('/list',dataCtrl.list);
router.get('/list',dataCtrl.list);
router.post('/getcate',dataCtrl.getcate);
router.post('/upload',dataCtrl.upload);

module.exports = router;